package com.ludomancy.breathe;

import java.awt.Font;
import java.awt.Graphics;
import java.awt.Rectangle;

import com.ludomancy.gamelib.TextWidget;
import com.ludomancy.gamelib.Widget;

public class MainTextWidget extends TextWidget
{

	public MainTextWidget(Widget parent, Rectangle area, String text, Font font)
	{
		super(parent, new Rectangle(area.x, area.y, area.width, area.height), text, font);
	}

	public void paint(Graphics g)
	{
		setText(Game.game.getMainText());
		super.paint(g);
	}

}
